//
//  UIColor+Extension.swift
//  02.表情键盘
//
//  Created by yaochunlin on 16/4/25.
//  Copyright © 2016年 yaochunlin. All rights reserved.
//

import UIKit

extension UIColor {

    class func randomColor() -> UIColor {
    
        let r = CGFloat(arc4random_uniform(256)) / 255.0
        let g = CGFloat(arc4random_uniform(256)) / 255.0
        let b = CGFloat(arc4random_uniform(256)) / 255.0
        
        return UIColor.init(red: r, green: g, blue: b, alpha: 1)
        
        
        
    }
}